package com.teamwings.modules.buffet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.teamwings.modules.buffet.entity.FormTableCtrlSql;
import org.springframework.stereotype.Repository;

@Repository
public interface FormTableCtrlSqlMapper extends BaseMapper<FormTableCtrlSql> {

    public IPage<FormTableCtrlSql> getListByCtrl(Page<FormTableCtrlSql> page, String ctrlName);

    public IPage<FormTableCtrlSql> getListByFormTable(Page<FormTableCtrlSql> page, String tableHeadId);

    public IPage<FormTableCtrlSql> getCommonList(Page<FormTableCtrlSql> page);
}
